package com.heihx.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "请求菜品数据时返回的数据模型")
public class DishItemVO implements Serializable {

    //菜品名称
    @Schema(description = "菜品名称")
    private String name;

    //份数
    @Schema(description = "菜品份数")
    private Integer copies;

    //菜品图片
    @Schema(description = "图片")
    private String image;

    //菜品描述
    @Schema(description = "描述")
    private String description;
}
